package com.imusic.model.user.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("user_member")
public class UserMember implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField("user_id")
    private Integer userId;

    private String name;

    private Integer level;

    @TableField("card_number")
    private Integer cardNumber;

    private Integer phone;

    private Integer state;

    @TableField("create_time")
    private Date createTime;

    @TableField("expire_time")
    private Date expireTime;
}
